package com.mai4j.maiadmin.controller.page;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

/**
 * 微信公众号请关注: 开源螺丝钉
 * <br>
 * 码云请关注: <a href="https://gitee.com/xiyoufang">https://gitee.com/xiyoufang</a>
 * <br>
 * 哔哩哔哩请关注: <a href="https://space.bilibili.com/438927834">https://space.bilibili.com/438927834</a>
 *
 * @author xiyoufang
 */
@Controller
@RequestMapping("/authentication")
@Slf4j
public class AuthenticationController {

    @RequestMapping(value = "/sign-in", method = RequestMethod.GET)
    public ModelAndView signIn() {
        return new ModelAndView("authentication/sign-in");
    }

    @RequestMapping(value = "/sign-up", method = RequestMethod.GET)
    public ModelAndView signUp() {
        return new ModelAndView("authentication/sign-up");
    }

    @RequestMapping(value = "/terms-of-service", method = RequestMethod.GET)
    public ModelAndView termsOfService() {
        return new ModelAndView("authentication/terms-of-service");
    }
}
